//
//  BaseView.swift
//  GreenDeal
//
//  Created by Moennig Q on 15/12/2022.
//

import UIKit

class View: UIView {

    //IB init
    required init?(coder aDecoder: NSCoder) {
        super.init(coder:aDecoder)
    }
    //纯代码创建
    override init(frame: CGRect) {
        super.init(frame: frame)
        self.setUpView()
    }
    init(hexStr: String) {
        super.init(frame: CGRect.zero)
        self.backgroundColor = UIColor(hexStr: hexStr)
        self.setUpView()
        
    }
    func setUpView() {
    }

}
